<? ob_start(); ?> 
<?php 
    include_once('../includes/common.inc.php');
    include_once('../dal/orderDAL.php');
    
    if(check_login()==false){
        header("location:login.php");
    }
    
    if(isset($_GET["order_id"]))
    {
        $orderId = $_GET["order_id"];
    }
    
    $orderDAL = new OrderDAL();
    $orderDetailList = $orderDAL->getOrderDetail($orderId);//Lấy thông tin của đơn hàng có id là $orderId


    $_title = "Home";
    include_once("../views/admin/header.php");
    include_once("../views/admin/orderdetail.php");
?>
<? ob_flush(); ?>